/* @(#)testdefen.c
 * Time-stamp: <2008-10-13 21:26:23 root>
 * Copyright 2008 Julian Qian
 * Author: root@localhost.localdomain
 * Version: $Id: testdefen.c,v 0.0 2008/10/07 16:35:47 root Exp $
 * Keywords: 
 */

#include "common.h"

int main(int argc, char *argv[])
{

	printf("server begin...\n");

	if( get_db_config("config.ini", &gDBConn) ) {
		err_sys("get_db_config");
	}

	db_init(&gDBQ_Defen, &gDBConn);  /* forr Defense() */
	db_stmt_prepare(&gDBQ_Defen);

	defense_run();
    
    return 0;
}
